<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="认领表单" bodyClass="white-bg" libs=["bootstrapSelect"]/>
<div class="wrapper wrapper-content ibox-content">
    <@f.form id="task-form-complete" class="form-horizontal">
    <input name="id" value="${projectSanLian.id}" type="hidden">

    <h4 class="form-header h4"><@ctx.i18n text = "基本信息"/></h4>

    <div class="row">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "应贴票金额"/>：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>

                        <input class="form-control" name="should" value="${projectSanLian.should?default('')}" type="text"  >
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "项目经理"/>：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="ceoName" value="${projectSanLian.ceoName?default('')}" type="text"  >

                </div>
            </div>
        </div>

    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "三联单号"/>：</label>
                <div class="col-sm-8">
                    <input name="name" class="form-control" value="${projectSanLian.name?default('')}"  type="text" required>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "项目档案编号"/>：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="fileNumber" value="${projectSanLian.fileNumber?default('')}" type="text" >
                    <!--readonly="true"-->
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "开具部门"/>：</label>
                <div class="col-sm-8">
                    <input name="openDepartment" class="form-control" value="${projectSanLian.openDepartment?default('')}"  type="text" required>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "项目名称"/>：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="projectName" value="${projectSanLian.projectName?default('')}" type="text">
                    <!--readonly="true"-->
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "付款单位"/>：</label>
                <div class="col-sm-8">
                    <input name="paymentNuit" class="form-control" value="${projectSanLian.paymentNuit}"  type="text" required>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "合同额"/>：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="contractSum" value="${projectSanLian.contractSum?default('')}" type="text" >
                    <!--readonly="true"-->
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "合同编号"/>：</label>
                <div class="col-sm-8">
                    <input name="contractNo" class="form-control" value="${projectSanLian.contractNo?default('')}"  type="text" required>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "开票金额回写"/>：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="billing" value="${projectSanLian.billing?default('')}" type="text" >
                    <!--readonly="true"-->
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "已结算到账金额"/>：</label>
                <div class="col-sm-8">
                    <input name="settlement" class="form-control" value="${projectSanLian.settlement?default('')}"  type="text" required>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "税金"/>：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="taxes" value="${projectSanLian.taxes}" type="text" >
                    <!--readonly="true"-->
                </div>
            </div>
        </div>
    </div>
    <!--<div class="row">-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "管理费"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input name="manage" class="form-control" value="${projectSanLian.manage}"  type="text" required>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "仪器费"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input class="form-control" name="instrument" value="${projectSanLian.instrument}" type="text" readonly="readonly">-->
    <!--&lt;!&ndash;readonly="true"&ndash;&gt;-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="row">-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "材料费"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input name="material" class="form-control" value="${projectSanLian.material}"  type="text" required>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "报告审查费"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input class="form-control" name="reports" value="${projectSanLian.reports}" type="text" readonly="readonly">-->
    <!--&lt;!&ndash;readonly="true"&ndash;&gt;-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="row">-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "其他费用"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input name="other" class="form-control" value="${projectSanLian.other}"  type="text" required>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "管理费合计"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input class="form-control" name="manageTotal" value="${projectSanLian.manageTotal}" type="text" readonly="readonly">-->
    <!--&lt;!&ndash;readonly="true"&ndash;&gt;-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="row">-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "管税总计"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input name="tax" class="form-control" value="${projectSanLian.tax}"  type="text" required>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "劳务费"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input class="form-control" name="fee" value="${projectSanLian.fee}" type="text" readonly="readonly">-->
    <!--&lt;!&ndash;readonly="true"&ndash;&gt;-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="row">-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "总计"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input name="total" class="form-control" value="${projectSanLian.total}"  type="text" required>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "可结算资金"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input class="form-control" name="settlements" value="${projectSanLian.settlements}" type="text" readonly="readonly">-->
    <!--&lt;!&ndash;readonly="true"&ndash;&gt;-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="row">-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "贴票金额"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input name="ticket" class="form-control" value="${projectSanLian.ticket}"  type="text" required>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "备注"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input class="form-control" name="remark" value="${projectSanLian.remark}" type="text" readonly="readonly">-->
    <!--&lt;!&ndash;readonly="true"&ndash;&gt;-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->
    <!--<div class="row">-->
    <!--<div class="col-sm-6">-->
    <!--<div class="form-group">-->
    <!--<label class="col-sm-4 control-label"><span style="color: red; ">*</span><@ctx.i18n text = "状态"/>：</label>-->
    <!--<div class="col-sm-8">-->
    <!--<input name="status" class="form-control" value="${projectSanLian.status}"  type="text" required>-->
    <!--</div>-->
    <!--</div>-->
    <!--</div>-->

    <!--</div>-->

</div>




</@f.form>
<div class="hr-line-dashed"></div>
<div class="row" style="text-align: center;" id="_addTab">

    <button type="button" class="btn btn-sm btn-primary" onclick="opt.form.submit()"><i class="fa fa-check"></i><@ctx.i18n text = "保存"/></button>&nbsp;
    <button type="button" class="btn btn-sm btn-danger" onclick="opt.modal.closeTab()"><i class="fa fa-reply-all"></i><@ctx.i18n text = "关闭"/></button>
</div>
</div>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "bpm/sanlian";

    $('#tipBut button').click(function(){
        $('#comment').text($(this).text())
    });

    $("#task-form-complete").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if (opt.validate.form()) {
            opt.operate.saveTab(prefix + "/edit", $('#task-form-complete').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>